//
//  UpdateAlertView.h
//  BaishidaiUser
//
//  Created by mac book on 2018/12/10.
//  Copyright © 2018年 ly. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^Action)(void);

@interface UpdateAlertView : UIView

@property(nonatomic ,copy) Action closeAction;
@property(nonatomic ,copy) Action nextAction;

@property(nonatomic ,copy) NSString *title;
@property(nonatomic ,copy) NSString *detailTitle;
@property(nonatomic ,strong) UIImage *images;
@property(nonatomic ,strong) NSString *btnTitle;
@property(nonatomic ,assign) float floa;
@property(nonatomic ,assign) BOOL isShow;

@property (copy, nonatomic) void(^loginButtonViewBlock)(NSInteger index);

-(instancetype)initWithTitle:(NSString *)title
                 detailTitle:(NSString *)detail
                       image:(UIImage *)images
                    btnTitle:(NSString *)btnTitle
                detailHeight:(CGFloat)floa
                 isShowClose:(BOOL)isShow;

-(void)nextActionEv:(Action)action;



-(instancetype)initWithLoginAlert;

- (void)showAlertView;

-(void)closeShandow;
@end

NS_ASSUME_NONNULL_END
